/**
 * 创建关注信息的集合
 */
const {Schema,ObjectId} = require('mongoose')
const baseModule = require('./baseModel')
module.exports = new Schema({
    user:{
        type:ObjectId,
        required:true,
        ref:'User'
    },
    channel:{
        type:ObjectId,
        required:true,
        ref:'User'
    },
    ...baseModule
})